const lazyLoading = (path) => {
  return () => import(`../pages`)
}

module.exports = [
  { path: '', component: () => import('../pages/websiteData') },

  { path: 'articleTypes', component: () => import('../pages/article/articleTypes') },

  { path: 'addArticle', component: () => import('../pages/article/addArticle') },

  { path: 'articleList', component: () => import('../pages/article/articleList') },

  { path: 'updateArticle/:id', component: () => import('../pages/article/updateArticle') },

  { path: 'userEdit', component: () => import('../pages/user/userEdit') },

  { path: 'adminUserEdit', component: () => import('../pages/user/adminUsersEdit') },

  // 公共管理部分

  // 网站基本信息 ↓
  {path: 'websiteInfo', component: () => import('../pages/website/websiteInfo.vue')},

  // 个人基本信息 ↓
  {path: 'personalInfo', component: () => import('../pages/common/personalInfo.vue')},

  // 密钥管理 ↓
  {path: 'secretKeyManage', component: () => import('../pages/common/secretKeyManage.vue')},


  //网站管理部分

  // 轮播图管理 ↓
  {path: 'slidesShow', component: () => import('../pages/website/slidesShow.vue')},
  {path: 'guestBook', component: () => import('../pages/website/guestBook.vue')},

]